﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace Snowing.Json
{
    public class PageData<T>
    {
        [JsonProperty("pages")]
        public int Pages { get; set; }

        [JsonProperty("total")]
        public int Total { get; set; }

        [JsonProperty("current")]
        public int Current { get; set; }

        [JsonProperty("items")]
        public IList<T> Items { get; set; }
    }
}
